package com.jing.weibo.mapper.user;

import java.util.List;

import com.jing.weibo.pojo.user.UserPointLog;

/**
 * 用户积分的Mapper
 * @author jing.yue
 * @version 2012/08/30 1.0.0
 */
public interface UserPointLogMapper {

	/**
	 * 保存用户积分信息
	 * @param userPointLog
	 * @throws Exception
	 */
	public abstract void saveUserPointLog(UserPointLog userPointLog) throws Exception;

	/**
	 * 根据用户名获取用户积分记录信息
	 * @param userPointLog
	 * @return
	 * @throws Exception
	 */
	public abstract List<UserPointLog> findByUsernamePoint(UserPointLog userPointLog) throws Exception;

	/**
	 * 根据用户名获取用户积分记录信息记录数
	 * @param userPointLog
	 * @return
	 * @throws Exception
	 */
	public abstract Integer findByUsernamePointCount(UserPointLog userPointLog) throws Exception;
}